package com.qf.ym.mapper;

import com.qf.ym.entity.OrderDetailEntity;
import com.qf.ym.entity.OrderEntity;
import com.qf.ym.entity.AddressEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {

    public boolean updOstatus(@Param("oid") String oid);

    public boolean addAddress(AddressEntity ad);

    public List<AddressEntity> showAddress(@Param("aid")int aid);

    public boolean createOrder(OrderEntity oe);

    public boolean createOrderDetail(@Param("goods") Integer[] goods,@Param("oid") String oid);

    public boolean toPlay(@Param("oid") String oid);

    public List<OrderEntity> orderList(@Param("aid")int aid);

    public List<OrderDetailEntity> orderDetailList(@Param("oid") String oid);



}
